// =====================================================
// UIFlickrHeader class
// =====================================================
// Inheritance
UIFlickrHeader.InheritsFrom(UISimpleControl);

function UIFlickrHeader()
{
    // Methods
    this.Construct = Construct;

    // Method definitions
    function Construct(id, pos, params)
    {
        // set HTML tag used for this control
        this.SetTag("uiflickrheader");

        // call parent constructor
        parent = Object.getPrototypeOf(this);
        parent.Construct(id, pos);

        // redefine/add more properties
        this.SetProperty("Size",        new Size("1000px", "50px"));
        this.SetProperty("BackImage",   "url('Images/flickrheader.jpg')");

        this.AddProperty("Icon");
        this.AddProperty("Navigation");
        this.AddProperty("Searcher");
        this.AddProperty("AccountInfo");
    }
}